package com.my.xl.salary.billdemo.pojo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConfigData {

    //钉钉参数
    @Value("${data.dd.corpid}")
    private  String corpId;
    @Value("${data.dd.secret}")
    private  String corpSecret;
    @Value("${data.dd.nonceStr}")
    private  String nonceStr;//随机字符串
    @Value("${data.dd.agentid}")
    private  String agentId;

    public String getCorpId() {
        return corpId;
    }

    public String getCorpSecret() {
        return corpSecret;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public String getAgentId() {
        return agentId;
    }

    @Override
    public String toString() {
        return "ConfigData{" +
                "corpId='" + corpId + '\'' +
                ", corpSecret='" + corpSecret + '\'' +
                ", nonceStr='" + nonceStr + '\'' +
                ", agentId='" + agentId + '\'' +
                '}';
    }
}
